home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Sunday Times: The Month 2003 December
/
The Sunday Times - The Month 2003-12.iso
/
pc
/
engine
/
swf
/
child_unlock.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2003-10-06
|
496b
|
24 lines
CODE = "TMN812";
stop();
fld.onSetFocus = function()
{
this.text = "";
this.onSetFocus = null;
};
btn_ok.onRelease = function()
{
if(fld.text.toUpperCase() == CODE)
{
trace("Child Lock unlock code CORRECT");
_parent.connTardisSend.onStatus = function(infoObject)
{
_parent.dialogsHide();
};
_parent.connTardisSend.send("Tardis","childlock_unlock");
}
};
btn_cancel.onRelease = function()
{
_parent.dialogsHide();
};